<ul>
    {% for book in current_user.shelf.all %}
    <li><a href="{{book.price_set.all.0.purchase_url}}"><h3>{{book.title}}</h3><img src="{{book.image_url}}" border="0"/></a></li>
    {% endfor %}
</ul>
